Post

Replies

Boosts

Views

Activity

Apple Watch SE2 Xcode Debugging Issues
I currently own an Apple Watch SE2 device. However, when I try to debug from the watch to the actual device, the connection loss issue occurs all too often. Once the connection is lost, it continues to try to connect in the Disconnected list on the Xcode "Devices and Simulators" screen and is in a loading state. Very often, even when the connection is established and you are trying to start debugging, it drops out. Xcode cannot debug properly on the actual device. I later found out that the Apple Watch SE2 does not support 5.0 Hz Wi-Fi, only 2.5 Hz. I think that might be the cause. Is this phenomenon less likely to occur if you debug on an actual device such as a regular Apple Watch 7/8/9 or Ultra model? In fact, if debugging is difficult with the Apple Watch SE model, I am wondering whether I should purchase an additional Apple Watch. Or is there another way to improve this issue? It would be nice if the Apple Watch could be debugged by connecting it to a Mac with an actual cable like the iPhone. I am wondering if there is a way to disable and enable network debugging in Xcode. In the past, debugging the watch using only Bluetooth with the iPhone in Xcode seemed to be more stable. Except for the Watch, the iPad doesn't have any major issues with Wi-Fi debugging on the iPhone.
1
0
737
Feb ’24
Creating a new version fails in Web App Store Connect.
Creating a new version fails in Web App Store Connect. When you log in to the Web App Store Connect screen and enter a new version in an existing project, a red error screen as shown below is displayed and the new version cannot be registered. "An error occurred. Please try again later. The version number was previously used." It has been happening continuously since yesterday. I hope you resolve this as quickly as possible. Currently, Testflight testing or distribution cannot be performed because the version cannot be created. This phenomenon continues in both Safari and Chrome browsers. The version you registered is a version you have not used before.
3
1
913
Feb ’24
How do I prevent my app's folders or files from being displayed or searched in the Files app?
How do I prevent my app's folders or files from being displayed or searched in the Files app? Currently, the app is set to display internal files and folders in the "Files" app, Apple's default app. Is there a way to turn this on and off within the app code so that our app's files or folders are not searched within the Files app? All files and folders in the Documents path and their subfolders and files are eligible.
1
0
472
Jan ’24
macOS 14 Sonoma cifilter issue (Designed for iPad)
macOS 14 Sonoma cifilter issue (Designed for iPad) I just updated my M1 Mac to MacOS 14 Sonoma. I ran the iOS/iPadOS app built in Xcode 15.0 on a Mac whose OS was updated using Testflight. (My app is Designed for iPad and is set to run on macOS.) When UIImage is processed using cifilter, the generated image may be grayed out. The same code does not occur on iOS and iPadOS. In other words, it does not occur on iPhone and iPad iOS/iPadOS 17. Has anyone experienced a similar issue? And I would like to know the solution ASAP. I am distributing the app as Designed for iPad. Every year, when Mac OS is updated, an issue arises. So, I am considering not allowing Vision Pro to run the current iOS/iPadOS app.
0
0
673
Sep ’23
AVSpeechSynthesizer delay issue, [AXTTSCommon] Invalid rule:
AVSpeechSynthesizer delay issue, [AXTTSCommon] Invalid rule: Play text using AVSpeechSynthesizer. Sound comes out normally. If you call speak(_ utterance: AVSpeechUtterance) to play text as speech [AXTTSCommon] Invalid rule: The log is displayed and it is called two or three times and the sound comes out late. It is judged that there are cases where delays of more than 1 second occur depending on the user, device, or situation, usually ranging from 0.6 seconds. [AXTTSCommon] Invalid rule: There is no additional reasoning behind the log. [AXTTSCommon] Invalid rule: [AXTTSCommon] Invalid rule: In this way, it is called a second time. This issue occurs after iOS 16.0. Is there any way to fix that issue? or not I would like to know if there is a way to reduce the delay at startup even if that log is displayed after the speak(_ utterance: AVSpeechUtterance) call.
1
0
1.1k
Jun ’23
In-App Purchase Family Sharing Issue
The app sells non-consumable in-app purchases. I also checked to enable family sharing. However, there are frequent cases where users share purchases using the family sharing function and fail when attempting to purchase or restore from a device of the shared account. Or, if a user who received the sharing makes a purchase, it will not be processed as shared payment information, but will be paid with the payment registered with the Apple ID of the current device. I used StoreKit2 and use Transaction.currentEntitlements to get payment info after purchase or restore. However, non-consumable in-app purchase information that has been shared with the family does not arrive normally. When I looked at the Storekit2 documentation, I know that there is nothing special handled or added in the API or code related to family sharing. If I'm wrong on this part or if you know a good solution to this non-consumable payment - family sharing, please advise.
2
2
743
May ’23
Watch Standalone App The icon is not displayed in the Watch app on iPhone.
Watch Standalone App The icon is not displayed in the Watch app on iPhone. We are currently trying to get the Apple Watch Standalone app to be judged. It has been rejected in the current review. The cause is that after installing the app on the watch, the app icon is displayed as a blank image in the "Installed on Apple Watch" item of the "Watch" app, which is the default app of the iPhone. The app icon installed on the watch cannot be displayed in the iPhone's default "Watch" app. If anyone knows of a possible way, please let us know. I've tried a lot of different ways now, but to no avail. Even if I combined the iPhone + watch icon in Watch Assets and installed the watch app, it failed. Even the Apple guidelines given by the reviewer have no relevant information at all.
0
0
658
May ’23
Is there an API that can check whether an app has been purchased in a paid app?
In the news these days, there are many things that Apple may allow sideloading installation from iOS 17. In that case, it might not be a problem to install only the ipa file of the paid app and install it on someone else's device. Is Apple currently supporting an API that can check whether a paid app has been purchased? (This is a paid app, not a subscription or in-app purchase.) If there is such an API, please let me know.
1
0
605
Apr ’23
Is there a way to get extra time to finish tasks in the WatchOS background?
In the Watch app, press the digital crown to go to the home screen, or the app enters the background state and tries to save the current data to iCloud. However, in this case, you may not be able to save to iCloud. In my opinion, the Watch app doesn't seem to be given any extra time to finish tasks once it enters the background. Is there any way I can do a little bit of extra background work to get things done? In the case of a background session, the system starts the app at an unspecified time after the app enters the background, so I decided that it was not particularly necessary in my case. It would be nice to be able to finish the work within 30 minutes while entering the background state, but I can't find a suitable way.
0
0
1k
Apr ’23
Watch App Review & Sales Questions
Apple has two watch app cases below. Watch App Only Phone App + Watch App (uncheck supports running without ios app installation option) I am trying to distribute it in the second situation above, "phone app + watch app". We are currently developing/researching a watch app. So, I have a few questions. First case: Documents can only be viewed on the watch app. You cannot view documents in the phone app, but it converts and transfers files from the phone app to the watch app. You can view the file by opening it in the watch app. Can a case like this pass the app review? Second case: In phone app + watch app, when both apps have the ability to view files Is it possible to sell the phone app and the watch app separately for a fee?
0
0
610
Mar ’23
How can I get the String transformed to fit the UIFont's table?
How can I get the String transformed to fit the UIFont's table? The characters (Unicode) included in the original String are all wrong. This original String is intended to be displayed normally when displayed or rendered in a UITextView using a specific UIFont. In other words, both the original String and UIFont files are not normal. Even after applying it to UITextView or UILabel, the rendering is displayed as normal characters, but when I import it as a String variable as text and display it in the log, it is still abnormal original characters. So, in the case of UITextView, even if the user makes a selection and then copies or searches, it does not work normally. I want to get the rendered (converted) String of this original String through this specific UIFont.
0
0
1.1k
Feb ’23
Is there any way to get the text content displayed on the screen in WKWebView ?
I'm trying to get all of the text displayed on the screen in a WKWebView . First of all, the text inside the html file to be loaded is broken. So use evaluateJavaScript to call "document.body.textContent" or "document.body.innerText". Doing so will return the broken text verbatim. However, the content displayed on the webview screen is not broken and displayed normally. I want to know how to get all normal text rendered on this webview screen.
0
0
761
Feb ’23
Question: How to stop a sound that has lost control (AVSpeechSynthesizer)
I'm struggling with a recent bug in iOS 16. There are various errors and bugs Currently struggling with AVSpeechSynthesizer. AutoReleasePool crashes frequently. I also posted a similar post on the forum before. https://developer.apple.com/forums/tags/speech There seems to be a lot of similar cases in the forum posts above. When AVSpeechSynthesizer is stopped, it does not stop immediately, but continues to play to the end. In that situation, even if you stop again, you lose control and cannot stop. Is there any way to stop the currently playing sound at will when I lose control like this? (I was also able to confirm that the error persisted without being fixed when I tested it on a device that just installed the 16.2 beta.)
2
0
871
Nov ’22
The problem that specific character height and spacing 0 cannot be set using NSMutableAttributedString
We are adding a function to change the height and spacing of only certain characters (NewLine) using NSMutableAttributedString. Set font size to 0 and lineSpacing to 0. For characters other than specific characters, enter the font size and lineSpacing separately. (e.g. font size = 28.0 / lineSpacing = 16.0) When applied to UITextView , the space in that part is higher than the lineSpacing set for other lines. (In other words, I set the font size and linespace to 0 for a blank line, but the height occurs in the blank line.) I thought that by setting the font size and lineSpacing to 0, the line height would be 0. But it doesn't appear that way. Does anyone know of this issue? If there is something I don't understand, please let me know, it will help me to solve it. The iOS version is being developed in the 16.1 environment.
0
0
1k
Oct ’22
Has anyone solved the UITableView text persistence or overlapping issue in iOS 16.1 iPhone 14 Pro and 14 Pro Max?
Has anyone solved the UITableView text persistence or overlapping issue in iOS 16.1 iPhone 14 Pro and 14 Pro Max? If anyone has solved the problem by modifying the code, please reply. I posted on the forum a while ago and forwarded the issue to Apple Feedback. Link to the forum post: https://developer.apple.com/forums/thread/718401 (Sample code and video links are in the article above.) However, it was confirmed today that iOS 16.1 did not improve on the iPhone 14 Pro Max. After making the cell of UITableView display text with UITextView or UILabel The text color is set to black and the background to white. (The afterimage is displayed in black, so it must be reproduced with a white background.) UITableView srollToRow Calls the next or previous Row in the current Row without any animation effects as shown in the code below. tableView!.scrollToRow(at: IndexPath(row: self.pIndex, section: 0), at: .top, animated: false) And the call to scrollToRow is UITapGestureRecognizer , which makes it scroll one page at a time when the user taps. At this time, the cell height of UITableView is set to the total height of the device. This will briefly display the text content that was just previously displayed in black. (Sometimes it is displayed a little longer.) So the current page text and the previous page text overlap. There is a phenomenon that the contents of the previous page disappear. In a slightly animated effect, it feels like a transition to the next page, leaving an afterimage of the previous page content. But I didn't add any animation effects in the motion. This is definitely happening on the iPhone 14 Pro and 14 Pro Max. We think it might be an iOS error. I don't think it will be improved as iOS will be updated soon. (No feedback from Apple as of today.) So, if you have experienced the same problem and solved it through code, please help. Even if it is improved with an OS update in the future, there are users who are currently uncomfortable, so if there is a way, I am thinking of including it in the app update.
1
0
1.2k
Oct ’22